
<h1>{$lang['editCompany']}</h1>
<form action="{$smarty.const.WEBROOT}/?action=updateCompany" method="POST"
	id="companyEditForm">
	<input type="hidden" id="business" name="business"
		value="{$business->getId()}" />
	<table style="padding-left:9px">
		<tr>
			<td width="131px">{$lang['name']}</td>
			<td><input type="text" class="feedbackInput inputHeight inputWidth" id="compname" name="compname" value="{$business->getName()}"></td>
		</tr>
		<tr>
			<td width="131px">{$lang['address']}</td>
			<td><input type="text" class="feedbackInput inputHeight inputWidth" id="address" name="address" value="{$business->getAddress()}"></td>
		</tr>
		<tr>
			<td width="131px">{$lang['phone']}</td>
			<td><input type="text" class="feedbackInput inputHeight inputWidth" id="phone" name="phone" value="{$business->getPhone()}"></td>
		</tr>
		<tr>
			<td width="131px">{$lang['website']}</td>
			<td><input type="text" class="feedbackInput inputHeight inputWidth" id="website" name="website" value="{$business->getWebsite()}"></td>
		</tr>
		<tr>
			<td valign="top">{$lang['description']}</td>
			<td><textarea class="feedbackInput inputWidth" id="description"
					name="description" style="height: 230px">{$business->getDescription()}</textarea></td>
		</tr>
		<tr>
			<td width="131px">{$lang['publicComments']}</td>
			<td>
			<select id="publicComments" name="publicComments">
				<option value="1" {if $business->getPublicComments() eq 1}selected="selected"{/if}>{$lang['public']}</option>
				<option value="0"{if $business->getPublicComments() eq 0}selected="selected"{/if}>{$lang['private']}</option>
			</select>
			</td>
		</tr>
		
	</table>
	<div class="clearfix"></div>
	<br>
	<p class="readmore">
		<a href="#" onclick="saveCompanyDetails()">{$lang['doneBtn']}</a> »
	</p>
</form>
